Skip to content

opentelemetry-util-genai: fix typecheck after importlib metadata shim changes#4585

Merged
xrmx merged 1 commit into
open-telemetry:mainfrom
xrmx:fix-typecheck-ci
May 15, 2026
Merged

opentelemetry-util-genai: fix typecheck after importlib metadata shim changes#4585
xrmx merged 1 commit into
open-telemetry:mainfrom
xrmx:fix-typecheck-ci

Conversation

@xrmx
Copy link
Copy Markdown
Contributor

@xrmx xrmx commented May 15, 2026

Description

Remove casts and some ignore pyright hints that are not needed anymore after the importlib metadata shim changes in core.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@xrmx xrmx requested a review from a team as a code owner May 15, 2026 08:06
@xrmx xrmx added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 15, 2026
@github-actions github-actions Bot added the gen-ai Related to generative AI label May 15, 2026
@xrmx xrmx moved this to Easy to review / merge / close in Python PR digest May 15, 2026
@xrmx xrmx enabled auto-merge (squash) May 15, 2026 08:10
@github-project-automation github-project-automation Bot moved this from Easy to review / merge / close to Approved PRs in Python PR digest May 15, 2026
@xrmx xrmx force-pushed the fix-typecheck-ci branch from 0ff50fd to 990b505 Compare May 15, 2026 10:32
@MikeGoldsmith MikeGoldsmith moved this from Approved PRs to Ready for merge in Python PR digest May 15, 2026
@xrmx xrmx merged commit 6ad8336 into open-telemetry:main May 15, 2026
1496 of 1498 checks passed
@github-project-automation github-project-automation Bot moved this from Ready for merge to Done in Python PR digest May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gen-ai Related to generative AI Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants